package com.OrderingSystem.service;

import com.OrderingSystem.pojo.ProductInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Chenlin
 * @since 2025-08-11
 */
public interface IProductInfoService extends IService<ProductInfo> {

    List<ProductInfo> selectAllProductInfo(Integer pageNum, Integer pageSize, ProductInfo productInfo);

    List<Map<String, Object>> selectAllProductInfoWithCategoryName(Integer pageNum, Integer pageSize, ProductInfo productInfo);
    
    int countAllProductInfoWithCategoryName(ProductInfo productInfo);

    Integer getTotalProductCount();
}
